<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WebRTC远程桌面</title>
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
    <div class="container">
        <h1>WebRTC远程桌面</h1>
        <div class="connection-status">
            <span id="status-indicator">未连接</span>
            <button id="connect-btn">连接</button>
            <button id="disconnect-btn" disabled>断开</button>
        </div>
        <div class="remote-screen">
            <video id="remote-video" autoplay playsinline muted controls style="background-color: #000;"></video>
        </div>
        <div class="control-panel">
            <div class="stats">
                <h3>连接统计</h3>
                <div id="connection-stats"></div>
            </div>
        </div>
    </div>
    <script src="/static/js/webrtc-client.js"></script>
</body>
</html>